<?php

namespace Telnet\Telnet\Strategy;

use React\Socket\ConnectionInterface;

class CmdExit implements CmdInterface {
    public static function handleCmd(array $argc, string $args, ConnectionInterface $connection){

        $connection->write("Shutting down server socket\n");
        $connection->close();
    }
}